/* 自定义工具类和样式 */
.rowclass .content-auto {
    content-visibility: auto;
}

 .rowclass {
    padding: 24px;
    max-height: calc(100vh - 171px);
    overflow-y: auto;
    background-color: #FCFBF8;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23704214' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.rowclass .bg-herb-texture {
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23704214' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.rowclass .card-elevation {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(112, 66, 20, 0.1);
    transition: all 0.3s ease;
}

.rowclass .card-elevation:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07), 0 4px 8px rgba(112, 66, 20, 0.12);
}

.rowclass .nav-item-active {
    position: relative;
    color: #556B2F;
}

.rowclass .nav-item-active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #556B2F;
}

.rowclass .schedule-status {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
}

.rowclass .calendar-day {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
    margin-left: auto;
    margin-right: auto;
}

.rowclass .calendar-day-disabled {
    color: #d1d5db;
    cursor: not-allowed;
}

.rowclass .calendar-day-today {
    border: 2px solid #556B2F;
    color: #556B2F;
    font-weight: 500;
}

.rowclass .calendar-day-range {
    background-color: rgba(85, 107, 47, 0.1);
    color: #556B2F;
}

.rowclass .shift-cell {
    position: relative;
    padding: 0.5rem;
    border: 1px solid #f3f4f6;
    user-select: none;
    -webkit-user-select: none;
}

.rowclass .shift-actions {
    position: absolute;
    top: 0.25rem;
    right: 0.25rem;
    display: none;
}

.rowclass .filter-active {
    background-color: #556B2F;
    color: white;
}

.rowclass .avatar-placeholder {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    background-color: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
}

.rowclass .small-avatar-placeholder {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 9999px;
    background-color: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
}

.rowclass .tiny-avatar-placeholder {
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 9999px;
    background-color: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
}

/* 日历容器样式 */
.rowclass .calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
}

.rowclass .calendar-week {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
}

/* 颜色定义 - 保留根变量定义不变，不添加前缀 */
:root {
    --primary: #704214;
    --secondary: #556B2F;
    --accent: #D2B48C;
    --light: #FCFBF8;
    --dark: #2D231A;
    --status-on: #10B981;
    --status-off: #6B7280;
    --status-leave: #EF4444;
    --status-apply: #F59E0B;
}

.rowclass .bg-status-on {
    background-color: var(--status-on);
}

.rowclass .bg-status-off {
    background-color: var(--status-off);
}

.rowclass .bg-status-leave {
    background-color: var(--status-leave);
}

.rowclass .bg-status-apply {
    background-color: var(--status-apply);
}

.rowclass .text-primary {
   color: #704214 !important;
}

.rowclass .rowclass_tou_btn{
    position: relative;
    top: 16px;
}

.rowclass .text-secondary {
    color: var(--secondary);
}

.rowclass .text-status-on {
    color: var(--status-on);
}

.rowclass .text-status-off {
    color: var(--status-off);
}

.rowclass .text-status-leave {
    color: var(--status-leave);
}

.rowclass .text-status-apply {
    color: var(--status-apply);
}

.rowclass .bg-primary {
    background-color: var(--primary);
}

.rowclass .bg-secondary {
    background-color: var(--secondary);
}

.rowclass .bg-light {
    background-color: var(--light);
}
